package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
*
*
* @author quan
* @date 2022-10-24 15:01
*/
 

@Data
@TableName(value = "t_publish_category")
@Accessors(chain = true)
public class TPublishCategory {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "owner")
    private Long owner;
    /**
     * 分类id
     */
    @TableField(value = "c_id")
    private Long cId;

    /**
     * 发单id
     */
    @TableField(value = "p_id")
    private Long pId;

    @TableField(value = "c_name")
    private String cName;
}